package com.traffic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户亲属犯罪信息对象 family_criminal
 *
 * @author zzs
 * @date 2024-11-08
 */
public class FamilyCriminal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 亲属编号 */
    @Excel(name = "亲属编号")
    private Long famliyId;

    /** 亲属姓名 */
    @Excel(name = "亲属姓名")
    private String famliyName;

    /** 与本人关系 */
    @Excel(name = "与本人关系")
    private String familyRelation;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String famliyNumber;

    /** 被追究日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "被追究日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date familyCriminalDate;

    /** 被追究原因 */
    @Excel(name = "被追究原因")
    private String familyCriminalReason;

    /** 处理阶段(立案侦查、审查起诉、刑事审判、刑罚执行、执行完毕、其他) */
    @Excel(name = "处理阶段(立案侦查、审查起诉、刑事审判、刑罚执行、执行完毕、其他)")
    private String familyCriminalStage;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String familyCriminalResult;

    /** 备注 */
    @Excel(name = "备注")
    private String famliyRemark;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setFamliyId(Long famliyId)
    {
        this.famliyId = famliyId;
    }

    public Long getFamliyId()
    {
        return famliyId;
    }
    public void setFamliyName(String famliyName)
    {
        this.famliyName = famliyName;
    }

    public String getFamliyName()
    {
        return famliyName;
    }
    public void setFamilyRelation(String familyRelation)
    {
        this.familyRelation = familyRelation;
    }

    public String getFamilyRelation()
    {
        return familyRelation;
    }
    public void setFamliyNumber(String famliyNumber)
    {
        this.famliyNumber = famliyNumber;
    }

    public String getFamliyNumber()
    {
        return famliyNumber;
    }
    public void setFamilyCriminalDate(Date familyCriminalDate)
    {
        this.familyCriminalDate = familyCriminalDate;
    }

    public Date getFamilyCriminalDate()
    {
        return familyCriminalDate;
    }
    public void setFamilyCriminalReason(String familyCriminalReason)
    {
        this.familyCriminalReason = familyCriminalReason;
    }

    public String getFamilyCriminalReason()
    {
        return familyCriminalReason;
    }
    public void setFamilyCriminalStage(String familyCriminalStage)
    {
        this.familyCriminalStage = familyCriminalStage;
    }

    public String getFamilyCriminalStage()
    {
        return familyCriminalStage;
    }
    public void setFamilyCriminalResult(String familyCriminalResult)
    {
        this.familyCriminalResult = familyCriminalResult;
    }

    public String getFamilyCriminalResult()
    {
        return familyCriminalResult;
    }
    public void setFamliyRemark(String famliyRemark)
    {
        this.famliyRemark = famliyRemark;
    }

    public String getFamliyRemark()
    {
        return famliyRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("famliyId", getFamliyId())
                .append("famliyName", getFamliyName())
                .append("familyRelation", getFamilyRelation())
                .append("famliyNumber", getFamliyNumber())
                .append("familyCriminalDate", getFamilyCriminalDate())
                .append("familyCriminalReason", getFamilyCriminalReason())
                .append("familyCriminalStage", getFamilyCriminalStage())
                .append("familyCriminalResult", getFamilyCriminalResult())
                .append("famliyRemark", getFamliyRemark())
                .toString();
    }
}
